<?php /* Smarty version 2.6.26, created on 2015-08-25 13:47:40
         compiled from index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'U', 'index.html', 12, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<link rel="stylesheet" href="Public/Admin/Css/public.css" />
	<script type="text/javascript" src="Public/Admin/Js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="Public/Admin/Js/public.js"></script>
	<script type="text/javascript">
	function del(cid){
		if(confirm('确定删除吗？')){
			location.href="<?php echo ((is_array($_tmp='Category/del')) ? $this->_run_mod_handler('U', true, $_tmp) : U($_tmp)); ?>
&cid=" + cid;	
		}
	}
</script>

</head>

<body>
	<table class="table">
		<tr>
			<td class="th" colspan="20">分类列表</td>
		</tr>
		<tr class="tableTop">
		
			<td class="tdLittle1">ID</td>
			<td>分类名称</td>
			<td class="tdLtitle7">操作</td>
		</tr>
	<?php $_from = $this->_tpl_vars['cate']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?>
		<tr>
			
			<td><?php echo $this->_tpl_vars['v']['cid']; ?>
</td>
			<td><?php echo $this->_tpl_vars['v']['title']; ?>
</td>
			
			<td>
				[<a href="<?php echo ((is_array($_tmp='Category/addSon')) ? $this->_run_mod_handler('U', true, $_tmp) : U($_tmp)); ?>
&cid=<?php echo $this->_tpl_vars['v']['cid']; ?>
">添加子分类</a>][
				<a href="<?php echo ((is_array($_tmp='Category/edit')) ? $this->_run_mod_handler('U', true, $_tmp) : U($_tmp)); ?>
&cid=<?php echo $this->_tpl_vars['v']['cid']; ?>
">修改</a>][
				<a href="javascript:del(<?php echo $this->_tpl_vars['v']['cid']; ?>
);" class="del">删除</a>]
			</td>
		</tr>
	<?php endforeach; endif; unset($_from); ?>	
	</table>

</body>
</html>